<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<html>
<head>
	<style type="text/css">
		.login {
			margin-left: auto;
			margin-right: auto;
			margin-top: 100px;
			padding-top: 50px;
			text-align: center;
			width: 300px;
			height: 200px;
			font-size: 14px;
			color: #FFFFFF;
		}
		
		.error {
			font-weight: bold;
			font-size: 15px;
			color: #FF0000;
		}
	</style>
<title>create user</title>
</head>
<body>
Utwórz konto<br /><br />
<form:form method="post" action="${pageContext.request.contextPath}/createAccount" commandName="createUser" >
	<form:label path="username">Login*</form:label><br />
	<form:input path="username" /><br />
	<form:label path="newPassword">Hasło**</form:label><br />
	<form:input type="password" path="newPassword" /><br />
	<form:label path="rePassword">Powtórz hasło</form:label><br />
	<form:input type="password" path="rePassword"/><br />
	<form:label path="code">Kod szkolenia***</form:label><br />
	<form:input path="code"/><br /><br />
	<input type="submit" value="Utwórz konto"/>
	<br /><br />
	<span style="font-size:10px">* login to Twój adres e-mail np. jan.kowalski@poczta.pl</span><br />
	<span style="font-size:10px">** hasło musi mieć minimum 5 znaków</span><br/>
	<span style="font-size:10px">*** kod szkolenia, który otrzymałeś od CeDeKa</span>
</form:form>
</body>
</html>